module.exports = {
    /**
     * @description 登录注册模块
     */
    userFormateError: {
        code: '406',
        message: '用户名或密码为空',
        result: ''
    },
    userAlreadyExited: {
        code: '204',
        message: '用户已经存在',
        result: ''
    },
    userRegisterError: {
        code: '500',
        message: '用户注册错误',
        result: ''
    },
    userDoesNotExist: {
        code: '404',
        message: '用户不存在',
        result: ''
    },
    userLoginError: {
        code: '500',
        message: '用户登录失败',
        result: ''
    },
    invalidPassword: {
        code: '404',
        message: '密码不匹配',
        result: ''
    },
    invalidCaptcha: {
        code: '404',
        message: '验证码不匹配',
        result: ''
    },
    captchaIsnotExist: {
        code: '404',
        message: '验证码已过期，请重试',
        result: ''
    },
    /**
     * @description 权限和公共模块
     */
    tokenExpiredError: {
        code: '401',
        message: 'token已过期',
        result: ''
    },
    invalidToken: {
        code: '401',
        message: '无效的token',
        result: ''
    },
    hasNotAdminPermission: {
        code: '403',
        message: '没有管理员权限',
        result: ''
    },
    isEmpty: {
        code: '406',
        message: '输入参数为空',
        result: ''
    },
    idEmpty: {
        code: '406',
        message: '输入的id为空',
        result: ''
    },
    /**
     * @description 角色模块
     */
    userIdIsNotExist: {
        code: '404',
        message: '用户id不存在',
        result: ''
    },
    identityError: {
        code: '404',
        message: '角色的identity值有误',
        result: ''
    },
    identityExisted: {
        code: '204',
        message: '该identity已存在',
        result: ''
    },
    verifyRoleError: {
        code: '406',
        message: '检验角色属性有误',
        result: ''
    },
    identityNotExisted: {
        code: '404',
        message: '当前角色不存在',
        result: ''
    },
    /**
     * @description 管理员模块
     */
    isNotBestAdm: {
        code: '403',
        message: '当前不是最高管理员',
        result: ''
    },
    isNotAdm: {
        code: '403',
        message: '新信息的权限不够成为管理员',
        result: ''
    },
    idIsNotAdm: {
        code: '404',
        message: '当前id不是管理员',
        result: ''
    },
    /**
     * @description 公告模块
     */
    invalidNoticeId: {
        code: '404',
        message: '公告id不存在',
        result: ''
    },
    NoticeIdisEmpty: {
        code: '404',
        message: '请输入公告id',
        result: ''
    },
    verifyIdError: {
        code: '500',
        message: '检验id出错',
        result: ''
    },
    /**
     * @description 课程类型模块
    */
    invalidTypeId: {
        code: '404',
        message: '课程类型id不存在',
        result: ''
    },
    /**
     * @description 课程视频模块
    */
    invalidVideoId: {
        code: '404',
        message: '课程视频id不存在',
        result: ''
    },
    /**
     * @description 课程模块
    */
    invalidCourseId: {
        code: '404',
        message: '课程id不存在',
        result: ''
    },
    /**
     * @description 企业模块
    */
    invalidEntId: {
        code: '404',
        message: '企业id不存在',
        result: ''
    },
    /**
     * @description 高校模块
    */
    invalidUnivId: {
        code: '404',
        message: '高校id不存在',
        result: ''
    },
    /**
     * @description 地区相关
    */
    invalidAreaId: {
        code: '404',
        message: '输入的id不存在',
        result: ''
    },
    provError: {
        code: '500',
        message: '获取省份出错',
        result: ''
    },
}